﻿using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
using UnityEngine;

public class GameDataMgr
{
    private static GameDataMgr instance = new GameDataMgr();
    public static GameDataMgr Instance { get => instance; }

    public MusicData musicData;
    public PlayerData playerData;

    private GameDataMgr()
    {
        this.musicData = XmlDataMgr.Instance.LoadData(typeof(MusicData), "musicData") as MusicData;
        this.playerData = XmlDataMgr.Instance.LoadData(typeof(PlayerData), "playerData") as PlayerData;
    }
}
